# coding=utf-8
import re

from learning.scientifc.jobs.job import Job


class CountWordsJob(Job):
    name = '统计字符出现次数'

    content = """"""

    def run(self, *args, **kwargs):
        data = self.content.replace('\n', '')
        match = re.findall(r'<script>.+?</script>', data)
        print(len(match), match)
